home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Disc to the Future 2
/
Disc to the Future Part II Programmer's Reference (Wayzata Technology)(6013)(1992).bin
/
MAC
/
THINKC
/
4_0
/
LIFER__
/
PROTO
/
U
/
LIFE_ALE.C
< prev
next >
Wrap
Text File
|
1991-07-23
|
2KB
|
65 lines
/* Life_Alert */
/* File name: Life_Alert */
/* Function: Handle an alert */
/* History: 7/23/91 Original by Prototyper 3.0 */
#include "PCommonLife.h" /* Common */
#include "Common_Life.h" /* Common */
#include "PUtils_Life.h" /* General Utilities */
#include "Utils_Life.h" /* General Utilities */
#include "Life_Alert.h" /* This file */
/* ======================================================= */
/* This routine is called at program startup to allow setting of any special */
/* items for the alert */
void A_Init_Life_Alert()
{
}
/* ======================================================= */
/* This routine is called while inside of the Alert filter */
/* theDialog is the dialog(alert) pointer */
/* theEvent is the event that we are to see if we should filter */
/* itemHit is the item we set if we handle the event ourselves */
Boolean Filter_Life_Alert( theDialog, theEvent, itemHit)
DialogPtr theDialog;
EventRecord *theEvent;
short *itemHit;
{
Boolean the_Filter_Life_Alert;
the_Filter_Life_Alert = FALSE; /* Let the Alert routine handle it */
return(the_Filter_Life_Alert); /* return the result */
} /* End of function */
/* ======================================================= */
/* This routine is called after the alert has been responded to */
/* itemHit is the item that was selected */
void A_Hit_Life_Alert(itemHit)
short itemHit;
{
if (Res_Alrt_ReEnter == itemHit) /* See if this Button was selected */
{
}
}